package com.itheima.jiekou4;

import java.lang.annotation.Inherited;

public class Test {
    public static void main(String[] args) {
        Inter.dance();
        InterImpl1 impl1 = new InterImpl1();
        impl1.sing();
       // impl1.dance();
    }
}
interface Inter{
    void sing();
   public  static void dance(){
        System.out.println("dance");
    }
}
class InterImpl1 implements Inter{

    @Override
    public void sing() {
        System.out.println("sing1");
    }

}